extends BaseBridge

const FLY_DISTANCE := 300

func _ready() -> void:
	super._ready()
	await get_tree().create_timer(1).timeout
	fly()


func fly() -> void:
	var tween = create_tween()
	tween.tween_property(self, "global_position",global_position-Vector2(0,FLY_DISTANCE).rotated(rotation),2).set_ease(Tween.EASE_IN_OUT)\
	.set_trans(Tween.TRANS_CUBIC)
